<% layout("/modules/cms/front/themes/"+site.theme+"/common/layout.html",{nav:'share'}){ %>

<div class="layui-main" style="padding-top: 15px;">
    <div class="fly-panel">
        <div class="fly-panel-title">站点地图</div>
        <div class="fly-panel-main">
            <table class="layui-table" lay-skin="nob">
                <tbody>
                    <%for(tpl in @CmsUtils.getMainNavList(site.id)){%>
                        <tr><td> <a href="${tpl.url}" target="_blank">${tpl.name}</a></td></tr>
                        <%for(category in @CmsUtils.getCategoryList(site.id,tpl.id,-1,'')){%>
                            <tr><td>├─ <a href="${category.url}" target="_blank">${category.name}</a></td></tr>
                        <%}%>
                    <%}%>
                </tbody>
            </table>
        </div>
    </div>
</div>
<% } %>